package com.skyable.common.constants.exception;

/**
 * @author GaoYuan
 * @title: AuthExcpConstants
 * @projectName spring-cloud-demo
 * @description: TODO
 * @date 2021/4/613:20
 */
public class AuthExcpConstants {

    public static Integer ERROR_CODE_TOKEN_EXPIRED = 2000;
    public static String ERROR_MSG_TOKEN_EXPIRED = "TOKEN已过期";

    public static Integer ERROR_CODE_PASSWORD_ERROR = 2001;
    public static String ERROR_MSG_PASSWORD_ERROR = "用户名或密码错误";

    public static Integer ERROR_CODE_USER_NOT_EXISTS = 2002;
    public static String ERROR_MSG_USER_NOT_EXISTS = "用户不存在";

    public static Integer ERROR_CODE_PHONE_NOT_NULL = 2003;
    public static String ERROR_MSG_PHONE_NOT_NULL = "手机号不能为空";

    public static Integer ERROR_CODE_VERITY_CODE_NOT_NULL = 2004;
    public static String ERROR_MSG_VERITY_CODE_NOT_NULL = "验证码不能为空";

    public static Integer ERROR_CODE_AUTH_FAILED = 2005;
    public static String ERROR_MSG_AUTH_FAILED = "用户认证失败";

    public static Integer ERROR_CODE_VERY_EXISTS = 2006;
    public static String ERROR_MSG_VERY_EXISTS = "稍后发送验证码";
}
